package com.demo.persistencia.generica.modelo;

import java.io.Serializable;
import java.util.List;


public class ResultsWrapper<T> implements Serializable {

   
	private static final long serialVersionUID = 1L;
	private Integer totalResults;
    private Integer totalPages;
    private List<T> results;
    private Long executionTime;
    private List<Integer> paginator;

    @Override
    public String toString() {
        return results.toString();
    }

    public Integer getTotalResults() {
        return totalResults;
    }

    public void setTotalResults(Integer totalResults) {
        this.totalResults = totalResults;
    }

    public Integer getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(Integer totalPages) {
        this.totalPages = totalPages;
    }

    public List<T> getResults() {
        return results;
    }

    public void setResults(List<T> results) {
        this.results = results;
    }

    public Long getExecutionTime() {
        return executionTime;
    }

    public void setExecutionTime(Long executionTime) {
        this.executionTime = executionTime;
    }

    public List<Integer> getPaginator() {
        return paginator;
    }

    public void setPaginator(List<Integer> paginator) {
        this.paginator = paginator;
    }
    
   

  

}
